﻿using UnityEngine;
using System.Collections;
using System.Collections.Generic;

public class DataTexture  {

    private static DataTexture m_instance;
    public static DataTexture Instantiate()
    {
        if (m_instance == null)
            m_instance = new DataTexture();
        return m_instance;
    }
    public DataTexture()
    {
        _listImageAgent = new List<Texture>();
        _textureLock = new Texture();
    }

    private List<Texture> _listImageAgent;

    public List<Texture> ListImageAgent
    {
        get { return _listImageAgent; }
        set { _listImageAgent = value; }
    }
    private Texture _textureLock;

    public Texture TextureLock
    {
        get { return _textureLock; }
        set { _textureLock = value; }
    }

    public void AddImageAgent(Texture imageAgent)
    {
        _listImageAgent.Add(imageAgent);
    }
}
